<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    //     echo "这是一个前台控制器";

    	$stu = M('stu')->find();
    	 //对stu表进行查询
    	// var_dump($users);

        // $this->assign('title','学并思');

        $this->assign('stu',$stu);
        $this->assign('age',$stu);
        $this->assign('sex',$stu);
        $this->display();
    }
   





}


?>